<!DOCTYPE >

<html>
<head>
	<title></title>
	<meta charset="utf-8">
	<script type="text/javascript" src="js/Region.js"></script>
</head>

<body>
<select id="sel_Province" style="width:80px" name="sel_Province">
</select>
<select id="sel_City" name="sel_City">
</select>
<select id="sel_County" name="sel_County">
</select>
<script>
AreaSelector().init();

/*function getValue(id)
{
	var sel = document.getElementById(id);
	if	(sel && sel.options)
	{
		alert(sel.options[sel.selectedIndex].value);
	}
}

function getText(id)
{
	var sel = document.getElementById(id);
	if	(sel && sel.options)
	{
		alert(sel.options[sel.selectedIndex].text);
	}
}
*/
</script>
<!--<br><br>
<input type="button" value="省选项值" onclick="getValue('sel_Province')" />
<input type="button" value="省选项文本" onclick="getText('sel_Province')" />

<input type="button" value="市选项值" onclick="getValue('sel_City')" />
<input type="button" value="省选项文本" onclick="getText('sel_City')" />

<input type="button" value="县/区选项值" onclick="getValue('sel_County')" />
<input type="button" value="县/区选项文本" onclick="getText('sel_County')" />
-->
</body>
</html>
